//
//  ViewController.h
//  ControlFun
//
//  Created by student on 16/2/18.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;

@property (weak, nonatomic) IBOutlet UITextField *numberTextField;
@property (weak, nonatomic) IBOutlet UILabel *sliderValueLable;
@property (weak, nonatomic) IBOutlet UISwitch *leftSwitch;
@property (weak, nonatomic) IBOutlet UISwitch *rightSwitch;
@property (weak, nonatomic) IBOutlet UIButton *dosomethingbutton;

- (IBAction)segementchaged:(UISegmentedControl *)sender;
- (IBAction)switchchanged:(UISwitch *)sender;
- (IBAction)dosomethingbuttonpressed:(UIButton *)sender;
- (IBAction)sliderchanged:(UISlider *)sender;

@end

